package StudyCode.summary.mycollection;

import java.util.LinkedList;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class LinkedListAddElement {
	public static void main(String[] args) {
		LinkedList<String> officers = new LinkedList<String>();
		officers.add("Blake");
		officers.add("Mary");
		officers.add("Edith");
		officers.add("P");
		officers.add("Lady");
		for (String s : officers)
			System.out.println(s);
	}
}
